import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";
const routes:Array<RouteRecordRaw>=[
    {
        path:'/',
        name:'add',
        component:()=>import('../components/add.vue')
    },
]
const router=createRouter({
    history:createWebHistory(),
    routes
})
export default router